package com.lovo.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.project.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<UserBean> {
    void insertRole(@Param("userId") Integer userId,@Param("roleIds") List<Integer> roleIds);
}
